<view class="main">
    <view class="title">管理权限</view>
    <view class="memberTotal">
        <view class="memberBar" qq:for='{{member}}' wx:key="index">
            <view class="userName">{{item.userName}}</view>
            <van-button class='delete' type="danger" size='mini' bind:click='delete' data-username="{{item.userName}}"  data-admin="{{item.admin}}" data-id="{{item.unionId}}">{{item.admin?'取消':'添加'}}</van-button>
        </view>
    </view>
    <van-dialog id="van-dialog" />
    <van-toast id="van-toast" />
</view>